package com.mdxx.xczd.bean;

public class MessageEvent {

	 private String message;
	 private int type;
	 private String extra;

	private long time;

	    public MessageEvent(String message, String extra, int type) {
	        this.message = message;
	        this.extra = extra;
	        this.type = type;
	    }

	public MessageEvent(long time, int type) {
		this.time = time;
		this.type = type;
	}
	public long getTime() {
		return time;
	}

	    public String getMessage() {
	        return message;
	    }

	    public void setMessage(String message) {
	        this.message = message;
	    }
	    
	    public String getExtra() {
	        return extra;
	    }

	    public void setExtra(String extra) {
	        this.extra = extra;
	    }

		public int getType() {
			return type;
		}

		public void setType(int type) {
			this.type = type;
		}	    
}
